package com.example.questionnaires.vo;

import lombok.Data;
import com.example.questionnaires.entity.Question;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class QuestionnaireVO {
    private Long id;
    private String title;
    private String description;
    private Long creatorId;
    private Integer status;  // 0: 未发布, 1: 已发布, 2: 已结束
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer viewCount;  // 浏览量
    private List<Question> questions;  // 问题列表
}
